/*
 * @Author: szx
 * @Date: 2022-03-08 14:23:10
 * @LastEditTime: 2022-03-08 14:25:28
 * @Description:
 * @FilePath: \leetcode\2100-2199\2177\2177.js
 */
/**
 * @param {number} num
 * @return {number[]}
 */
var sumOfThree = function (num) {
    const n = num % 3;
    if (n !== 0) return [];
    else return [n - 1, n, n + 1];
};
console.log(sumOfThree(0))
